{% extends "base.html" %}
{% block title %}{{block.super}} - Paper - List {% endblock %}
{% block content %}
<div>
 <h2>Paper - List </h2>
 {% for paper_object in paper_set%}
 <div>
  id: {{paper_object.id}}<br>
title: {{paper_object.title}}<br>
description: {{paper_object.description}}<br>
picture: {{paper_object.picture}}<br>
price: {{paper_object.price}}<br>
type: {{paper_object.type}}<br>
created: {{paper_object.created}}<br>
modified: {{paper_object.modified}}<br>

  Links are here, uncomment them<br />
  {% comment %}
  <a href="{% url fragrances:paper_view paper_object.id %}">link to self</a><br />
  <a href="{{paper_object.get_absolute_url}}">{{paper_object}}</a>
  {% endcomment %}
 </div>
 {% empty %}
 <div>No Paper at the moment</div>
 {% endfor %}
</div>

<div>
 Links are here, uncomment them<br />
 {% comment %}
 <a href="{% url fragrances:paper_list %}">All {{'Paper'|pluralize}}</a><br />
 <a href="{% url fragrances:paper_view paper_object.id %}">link to self</a><br />
 <a href="{{paper_object.get_absolute_url}}">{{paper_object}}</a><br />
 <a href="{% url fragrances:paper_edit paper_object.id %}">edit this</a><br />
 <a href="{% url fragrances:paper_create %}">Add new Paper</a><br />
 {% endcomment %}
</div>
{% endblock content %}